﻿using System;
using System.Collections.Generic;
using System.Text;
using Longbow.Data;

namespace Gammar.Price.Utility.Configuration
{
    /// <summary>
    /// 
    /// </summary>
    public sealed class DatabaseManager
    {
        private static DatabaseManager _instance = new DatabaseManager();
        private DatabaseManager() { }

        /// <summary>
        /// 
        /// </summary>
        public static DatabaseManager Instance
        {
            get { return _instance; }
        }

        /// <summary>
        /// 
        /// </summary>
        public DBAccess CurrentDBAccess
        {
            get { return DBAccess.CreateDB(); }
        }
    }
}
